package com.ffz.springbootvuedemo.service;

import com.ffz.springbootvuedemo.bean.User;
import com.ffz.springbootvuedemo.bean.vo.UserEditVO;
import com.ffz.springbootvuedemo.bean.vo.UserVO;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @description:
 * @author: fengfazheng
 * @create: 2021-12-28 23:43
 **/
public interface UserService {
    void create(UserVO userVO);
    void updateById(UserEditVO userEditVO);
    Page<User> getAll(Integer pageNum, Integer pageSize, String key);
    void deleteById(String id);
}
